// MGisDoc.h : interface of the CMGisDoc class
//
#pragma once

class CMapLayer;
class CCanvas;
class CGISApplication;
class CMGisDoc : public CDocument
{
protected: // create from serialization only
	CMGisDoc();
	DECLARE_DYNCREATE(CMGisDoc)

// Attributes
public:

// Operations
public:
// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

// Implementation
public:
	virtual ~CMGisDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnFileOpen();
private:
	void addLayer(CString filePath);
    CGISApplication* m_pGISApplication;
};


